package com.c.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wangxiangli
 * @create 2022-12-30-15:13
 */
@Data
@TableName("t_member")
@Accessors(chain = true)
public class Member implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;//主键
    @TableField("fileNumber")
    private String fileNumber;//档案号
    @TableField("name")
    private String name;//姓名
    @TableField("sex")
    private String sex;//性别
    @TableField("idCard")
    private String idCard;//身份证号
    @TableField("phoneNumber")
    private String phoneNumber;//手机号
    @TableField("regTime")
    private Date regTime;//注册时间
    @TableField("password")
    private String password;//登录密码
    @TableField("email")
    private String email;//邮箱
    @TableField("birthday")
    private Date birthday;//出生日期
    @TableField("remark")
    private String remark;//备注
}
